#!/bin/sh
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Clean up stale rwho entries after one month
find /var/spool/rwho -mindepth 1 -maxdepth 1 -type f ! -name .keep \
    ! -ctime -30 -print0 | xargs -r0 rm -f
